package com.ruoyi.production.domain.fertilizer;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 化肥名称对象 fertilizer_name
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public class FertilizerName extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long fertilizerNameId;

    /** 肥料名称 */
    @Excel(name = "肥料名称")
    private String fertilizerName;

    public void setFertilizerNameId(Long fertilizerNameId)
    {
        this.fertilizerNameId = fertilizerNameId;
    }

    public Long getFertilizerNameId()
    {
        return fertilizerNameId;
    }
    public void setFertilizerName(String fertilizerName)
    {
        this.fertilizerName = fertilizerName;
    }

    public String getFertilizerName()
    {
        return fertilizerName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fertilizerNameId", getFertilizerNameId())
            .append("fertilizerName", getFertilizerName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
